.bor {
    border: 1px solid red;
}

body, * {
    font-family: 微软雅黑;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.table>tbody>tr>td{
    text-align:center;/*设置水平居中*/
    vertical-align:middle;/*设置垂直居中*/
}
td {
    word-break: break-all;
    word-wrap: break-word;

    text-align:center;/*设置水平居中*/
    vertical-align:middle;/*设置垂直居中*/
}

a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}
a.btn.disabled{
    color: #ccc;
}

.a-default{
    font-size: 14px;
    color: #07d;
    padding: 0 5px;
}
.help-block{
    color: #a94442;
}

/**/
.spec{
    /*background-color: #f8f8f8;*/
}
.spec:after{
    content:'';
    display:block;
    height:0;
    visibility:hidden;
    clear:both;
}
.spec-list{
    padding: 10px 15px;
    background-color: white;
}
.spec-list .spec-item{
    position: relative;
    width: 84px;
    display: inline-block;
    margin-right: 10px;
}
.spec-item.active{
    margin-top: 100px;
}
.spec-item .close-spec-item{
    position: absolute;
    right: -5px;
    top: -5px;
    font-size: 16px;
    display: none;
}
.spec-item:hover .close-spec-item{
    display: block;
}

.spec-img{
    position: absolute;
    bottom: 36px;
    left: 0;
    padding: 2px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
}
.add-img{
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: #fff;
    font-size: 30px;
    color: #e5e5e5;
    cursor: pointer;
}
.add-img img{
    width: 100%;
    height: 100%;
    background:white url("../images/default.png") center center;
}

.add-spec-item{
    margin-top: 10px;
}
.spec .checkbox,.spec .control-label span{
    display: none;
}
.spec:nth-child(8) .spec-item.active{
    /*margin-top: 100px;*/
}
.spec:nth-child(8) .checkbox,.spec:nth-child(8) .control-label span{
    display: block;
}
.popover{
    max-width: 420px;
}
#Frm .form-group{
    padding: 10px ;
    background-color: #f8f8f8;
}
#imgModal .modal-body{
    /*min-height: 400px;*/
}
.modal .image-item{
    margin-bottom: 20px;
    cursor: pointer;
    border:2px solid white;
    width: 120px;
    height: 120px;

    background-image: url("");
    background-size: contain;
    background-repeat: no-repeat;
    background-position:center center;
}

.modal .image-item.active{
    border: 2px solid green;
}

#added input{
    border: none;
    width: 100%;
}
#added input[readonly]{
    background-color: #f8f8f8;
}
#added  input:focus{
    outline: none;
}
#added tr{
    position: relative;
}
#added tr .glyphicon-remove-circle{
    font-size: 20px;
    cursor: pointer;
    padding-top: 5px;

    transition:1s;
    -moz-transition:1s;/*Firefox4*/
    -webkit-transition:1s;/*Safari和Chrome*/
    -o-transition:1s;/*Opera*/
}
#added tr .glyphicon-remove-circle:hover{
    transform:scale(1.1);
    -ms-transform:scale(1.1);/*IE9*/
    -moz-transform:scale(1.1);/*Firefox*/
    -webkit-transform:scale(1.1);/*Safari和Chrome*/
    -o-transform:scale(1.1);/*Opera*/

    transition:1s;
    -moz-transition:1s;/*Firefox4*/
    -webkit-transition:1s;/*Safari和Chrome*/
    -o-transition:1s;/*Opera*/
}

.goods-img-item{
    position: relative;
    display: inline-block;
}
.goods-img-item .close-goods-img{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    cursor: pointer;
    display:none;
}
.goods-img-item:hover .close-goods-img{
    display:block;
}
.goods-img-item img{
    margin: 10px;
    width: 100px;
    height: 100px;
}
.add-goods-img{
    cursor: pointer;
}

/*图片管理*/
#file-content{
    height: 280px;
}
.image-item{
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: #f8f8f8;
    padding: 5px;
}

.image-item:after{
    content:'';
    display:block;
    height:0;
    visibility:hidden;
    clear:both;
}
.image-item .img-box{
    width: 160px;
    height: 160px;
    background-image: url("../images/1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.image-item .img-title input{
    margin-right: 5px;
}
.image-item .img-title h5{
    width: 160px;
    word-break:keep-all;/*不换行*/
    white-space:nowrap;/*不换行*/
    overflow:hidden;/*内容超出宽度时隐藏超出部分的内容*/
    text-overflow:ellipsis;/*当对象内文本溢出时显示省略标记(...)；需与overflow:hidden;一起使用。*/
}
.image-item .img-opt a{
    color: #07d;
}

/*订单模块*/
.my-order-list .order-goods{
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.my-order-list .order-goods:last-child{
    border-bottom: none;
}
.my-order-list .order-goods img{

}
.order-type{
    padding: 10px 0;
    margin-bottom: 20px;
}
.order-type>div{
    padding: 10px 0;
    cursor: pointer;
}
.order-type>div:hover{
    border-bottom: 2px solid green;
}
.order-type>div h5{
    padding: 0 10px;
    margin: 0;
    border-right: 1px solid #ddd;
}
.order-type>div:last-child h5{
    border-right: none;
}
.order-type>div.active{
    color: green;
}

/*商品列表*/
.popover-content{
    position: relative;
}
.popover-content .glyphicon-remove-circle{
    position: absolute;
    top: -5px;
    right: -5px;
    cursor: pointer;
    font-size: 18px;
}
/*编辑店铺*/

#editStoreForm textarea{
    resize: none;
}

#editStoreForm small a{
    text-decoration: none;
    color: #07d;
}
#editStoreForm h5{
    font-size: 16px;
}
/**/
#dataTables-example_filter{
    text-align: right;
}
a.alert-link{
    text-decoration: none;
}
#qrcode canvas{
    width: 100%;
    height: 100%;
}
.activity .panel:hover{

}

/*大图浏览*/
.pop{
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    z-index: 1050;
    background-color: rgba(0,0,0,0.9);/* IE9、标准浏览器、IE6和部分IE7内核的浏览器(如QQ浏览器)会读懂 */
    display: none;
}

@media (max-width: 768px) {
    .pop img{
        width: 100%;
    }
}
.pop table{
    width:100%;
    height:100%;
}

.label-dot{
    margin-left: 10px;
    border-radius: 20px;
    padding: .2em .8em .3em .8em;
}